<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:ui="http://java.sun.com/jsf/facelets"
   xmlns:ace="http://www.icefaces.org/icefaces/components"
   xmlns:icecore="http://www.icefaces.org/icefaces/core">
   <h:body> 
      <ui:composition template="/WEB-INF/templates/simpleuser/template.xhtml">
         <ui:define name="content">
         	<h:form id="form-active-alarm-list">
				<ace:dataTable id="dev-alarm-list"
	                    value="#{activeAlarmsBean.alarms}"
	                    var="var">
	                <ace:column id="alarm-list-name-device" headerText="#{msgs['devicedata.name']}">
	                 	<h:outputText id="alarm-list-devname-row" value="#{var.devname}"/>
	           		</ace:column>
	           		<ace:column id="alarm-list-name-alrm" headerText="#{msgs['devicedata.alarm.name']}">
	                 	<h:outputText id="alarm-list-name-row" value="#{var.name}"/>
	           		</ace:column>  
	              	<ace:column id="alarm-list-field-col" headerText="#{msgs['devicedata.alarm.field']}">
	                   	<h:outputText id="alarm-list-value-row" value="#{var.field}"/>
	              	</ace:column>
	              	<ace:column id="alarm-list-value-col" headerText="#{msgs['devicedata.alarm.value']}">
	                   	<h:outputText id="alarm-list-vule-row" value="#{var.value}"/>
	              	</ace:column>  
	              	<ace:column id="alarm-list-criteria-col" headerText="#{msgs['devicedata.alarm.criteria']}">
	                   	<h:outputText id="alarm-list-criteria-row" value="#{var.criteria}" />
	              	</ace:column>
	       		</ace:dataTable>
	       	</h:form>  
         </ui:define>					
      </ui:composition> 
   </h:body> 
</html>	